function Person () {}
// prototype是函数才有的属性
Person.prototype.name = '小明'
var person1 = new Person();
var person2 = new Person();
console.log(person1.name);
console.log(person2.name)
